package com.ocom.common.request.human;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RegisterPalmRequest {

    @NotNull(message = "单位编号 不能为空")
    private Long comId;

    @JsonProperty("pId")
    private Integer pId;

    private String version;

    private String palmList;

//    public Palm palm;

    @Data
    public static class Palm {
        private String palm;
    }

}
